﻿using AutoMapper;
using SassModule.Entity;
using SassModule.ViewModel;

namespace SassModule.Profiles
{
    public class AutoMapperProfile: Profile
    {
        public AutoMapperProfile()
        {
            CreateMap<RoleAddViewModel, Role>();

            //CreateMap<Section, SectionViewModel>()
            //    .ForMember(x=>x.Position,opt=>opt.MapFrom(k=>new double?[] { k.X,k.Y}));

        }
    }
}
